package logo.lang;

public class LogoEvalException extends LogoException {

    IRExp badExp;		// expression responsible for this exception

    public LogoEvalException() {
	super();
    }

    public LogoEvalException(String msg) {
	super(msg);
    }

    public LogoEvalException(String msg, IRExp exp) {
	super(msg);
	badExp = exp;
    }

    public IRExp getExp() {
	return badExp;
    }
}
